package mithrilwings.constants;

import com.jme3.network.AbstractMessage;
import com.jme3.network.serializing.Serializable;
import org.apache.log4j.Logger;

/**
 *
 * @author porfiriopartida
 */
@Serializable
public class MithrilMessage extends AbstractMessage {
    final static protected Logger log4j = Logger.getLogger(MithrilMessage.class);
    static final long serialVersionUID = 1L;
    private String message;       // custom message data

    public MithrilMessage() {
    }    // empty constructor

    public MithrilMessage(String s) {
        message = s;
    } // custom constructor
    public MithrilMessage(int i) {
        message = i+"";
    }
    public MithrilMessage(Object o) {
        message = o+"";
    }

    public String getMessage() {
        return message;
    }
}
